import {RouterModule} from '@angular/router';
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {HashLocationStrategy, LocationStrategy} from '@angular/common';
import {RouterConfig} from '../router'
@NgModule({
    imports:[
        CommonModule,
        RouterModule.forRoot(RouterConfig),

    ],
    providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}],
    declarations:[],
    exports:[RouterModule]
})
export class RoutingModule{

}

